﻿using System;
using UnityEngine;

namespace Illusion.CustomAttributes
{
	// Token: 0x02000301 RID: 769
	[AttributeUsage(AttributeTargets.Field, Inherited = true, AllowMultiple = true)]
	public sealed class ButtonRegulateAttribute : PropertyAttribute
	{
		// Token: 0x060013AB RID: 5035 RVA: 0x0008BFB8 File Offset: 0x0008A1B8
		public ButtonRegulateAttribute(string function, string name, bool playingRegulate, params object[] parameters)
		{
			this.Function = function;
			this.Name = name;
			this.PlayingRegulate = playingRegulate;
			this.Parameters = parameters;
		}

		// Token: 0x170001DB RID: 475
		// (get) Token: 0x060013AC RID: 5036 RVA: 0x0008BFE0 File Offset: 0x0008A1E0
		// (set) Token: 0x060013AD RID: 5037 RVA: 0x0008BFE8 File Offset: 0x0008A1E8
		public string Function { get; private set; }

		// Token: 0x170001DC RID: 476
		// (get) Token: 0x060013AE RID: 5038 RVA: 0x0008BFF4 File Offset: 0x0008A1F4
		// (set) Token: 0x060013AF RID: 5039 RVA: 0x0008BFFC File Offset: 0x0008A1FC
		public string Name { get; private set; }

		// Token: 0x170001DD RID: 477
		// (get) Token: 0x060013B0 RID: 5040 RVA: 0x0008C008 File Offset: 0x0008A208
		// (set) Token: 0x060013B1 RID: 5041 RVA: 0x0008C010 File Offset: 0x0008A210
		public bool PlayingRegulate { get; private set; }

		// Token: 0x170001DE RID: 478
		// (get) Token: 0x060013B2 RID: 5042 RVA: 0x0008C01C File Offset: 0x0008A21C
		// (set) Token: 0x060013B3 RID: 5043 RVA: 0x0008C024 File Offset: 0x0008A224
		public object[] Parameters { get; private set; }
	}
}
